package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

/**
 * 预约设置dao
 */
public interface OrderSettingDao {
    //根据日期查询数据
//    OrderSetting getByOrderDate(String orderDate);
    OrderSetting getByOrderDate(Date orderDate);

    //修改数据
    void update(OrderSetting oldOrderSetting);

    //新增
    void save(OrderSetting orderSetting);




    List<OrderSetting> getOrderSettingByMonth(String date);

}
